textview: clip to text window when drawing
authorChristian Hergert <chergert@redhat.com>
Fri, 13 Sep 2019 23:26:26 +0000 (16:26 -0700)
committerChristian Hergert <chergert@redhat.com>
Fri, 13 Sep 2019 23:44:04 +0000 (16:44 -0700)
commit7927f7a4402090e134c9c870c5609227bdfbd39a
tree44c74a2e99cf0f1ec5e114c5b2b7c71d8ec664a2
parent605284bc3666e9a74a1884ffaeaacd726ac394b7
textview: clip to text window when drawing

When drawing the GtkTextView text, we need to clip to the visible area
so that we do not risk drawing under the border windows.
gtk/gtktextview.c